package com.guigu.yh.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * payment8004
 * 本实例以zookeeper为注册中心
 *
 * @author 张颖辉（zyh）
 * @version 1.0.0
 * @date 2022/08/18
 */
@SpringBootApplication
@EnableDiscoveryClient //该注解用于向使用consul或者zookeeper作为注册中心时注册服务
public class PaymentMain8004Zk {
    public static void main(String[] args) {
        SpringApplication.run(PaymentMain8004Zk.class, args);
    }
}
